package com.atguigu.common.constant;

/**
 * @author ming
 * @create 2022/4/26
 * @description:
 */
public class WareConstant  {
   public enum PuchaseStatusEnum {
      CREATE(0,"新建"),ASSIGNMENT(1,"已分配"),
      REICEIVe(2,"已领取"),FINISHED(3,"已完成"),
      HASERROR(4,"有异常");
      private Integer code;
      private String message;

      PuchaseStatusEnum(Integer code, String message) {
         this.code = code;
         this.message = message;
      }
      public Integer getCode() { return code; }
      public String getMessage() { return message; }
   }
   public enum PuchaseDetailsEnum {
      CREATE(0,"新建"),ASSIGNMENT(1,"已分配"),
      BUYING(2,"正在采购"),FINISHED(3,"已完成"),
      HASERROR(4,"采购失败");
      private Integer code;
      private String message;

      PuchaseDetailsEnum(Integer code, String message) {
         this.code = code;
         this.message = message;
      }
      public Integer getCode() { return code; }
      public String getMessage() { return message; }
   }


}
